// ==UserScript==
// @name         auto close dialog
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  fuck mabangerp
// @author       You
// @updateURL    https://gitee.com/great-pacey/tampermonkey/raw/master/mabangdialog.user.js
// @match        https://www.mabangerp.com/
// @icon         https://www.google.com/s2/favicons?domain=mabangerp.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var cout = 200;

    var t = setInterval(() => {
        var el = document.querySelector('#jobInfo')
        if (el) {
            el.parentElement.removeChild(el);
            clearInterval(t)
        } else {
            if (count <= 0) {
                clearInterval(t);
            } else {
                count--;
            }
        }
    }, 100)
    // Your code here...
})();